package com.open.capacity.reimburse.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * ftp配置
 */
@Component
@ConfigurationProperties(prefix = "ak.ftp")
public class AkFtpProperties {

    private String host;
    private Integer port;
    private String username;
    private String password;
    private String basepath;
    private String savepath;

    public String getHost() {
        return host;
    }

    public Integer getPort() {
        return port;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getBasepath() {
        return basepath;
    }

    public String getSavepath() {
        return savepath;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setBasepath(String basepath) {
        this.basepath = basepath;
    }

    public void setSavepath(String savepath) {
        this.savepath = savepath;
    }

    @Override
    public String toString() {
        return "AkFtpProperties{" +
                "host='" + host + '\'' +
                ", port='" + port + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", basepath='" + basepath + '\'' +
                ", savepath='" + savepath + '\'' +
                '}';
    }
}
